import { Component, OnInit } from '@angular/core';
import {PageSubject} from "../../../../util/page-subject";
import {Path} from "../../../../portal/admin/admin-breadcrumb/breadcrumb";


@Component({
  selector: 'app-tpl-create',
  templateUrl: './tpl-create.component.html',
  styleUrls: ['./tpl-create.component.css']
})
export class TplCreateComponent implements OnInit {

  constructor(
    private pageSubject: PageSubject
  ) { }

  ngOnInit() {
    this.pushPage();
  }
  /**
   * 面包屑导航
   */
  pushPage() {
    const path = new Path('模板', '');
    this.pageSubject.pushPage('模板制作', '', path);
  }

}
